n = int(input())
c = input()
for a in range(n):
    for b in range(((n - 1) - a)):
        print('  ', end = '')
    for d in range((a + 1)):
        print(c, end = '')
    print()
